home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ETO Development Tools 4
/
ETO Development Tools 4.iso
/
Tools - Objects
/
Macintosh Programmer’s Workshop
/
MPW QR4
/
SADE 1.3b1
/
SADEScripts
/
MiscProcs
< prev
next >
Wrap
Text File
|
1991-04-25
|
743b
|
22 lines
# Symbolic Application Debugging Environment 1.0 Final
#
# Copyright Apple Computer, Inc. 1987-1988
# All rights reserved.
###############################################################################
proc displaywindowlist;
# displays the title of each window in the window list.
define awindow; # used to contain the pointer to each window record in turn
awindow := ^WindowRecord(windowlist); # start at the first window, pointed to from low memory.
while (awindow <> 0) do # a NIL terminated list.
printf ("Window Title = \"%P\"\n",^pString(awindow^.titleHandle^)^); # write the information out.
awindow := ^WindowRecord(awindow^.nextWindow); # point at the next in the list.
end; # while
end; # displaywindowlist